Skip to content

Add basic support for Eigen matrices in Data - #546

Open
damienmarchal wants to merge 3 commits into
sofa-framework:masterfrom
CRIStAL-PADR:pr-add-data_eigen-to-python
Open

damienmarchal wants to merge 3 commits into
sofa-framework:masterfrom
CRIStAL-PADR:pr-add-data_eigen-to-python

Conversation

@damienmarchal

@damienmarchal damienmarchal commented Oct 27, 2025 •

Copy link
Copy Markdown
Contributor

Do not merge before: sofa-framework/sofa#6385
The binding handles all type supported in #6385.

The type caster is a bit cumbersome as Sofa does not implement unique AbstractTypeInfo so a caching mechanisme is needed to avoid comparing by string/type_info each time.

@hugtalbot

Copy link
Copy Markdown
Contributor

Compilation to fix on Windows

@damienmarchal

Copy link
Copy Markdown
Contributor Author

The compilation on windows should be fixed by sofa'PR sofa-framework/sofa#6385

@damienmarchal damienmarchal changed the title Add basic support for Data<Eigen::MatrixXF> in data Add basic support for Data<Eigen::Matri> in data Oct 14, 2026
@damienmarchal damienmarchal changed the title Add basic support for Data<Eigen::Matri> in data Add basic support for Eigen matrices in Data Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants